package com.joe.springboot.service.impl;

import com.joe.springboot.service.CalService;
import com.joe.springboot.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class ParentServiceImpl implements HomeService {

    @Autowired
    private CalService calService;

    @Override
    public int calResult(int a, int b) {
        return calService.calNum(a, b);
    }
}
